//
//  WebViewController.m
//  ScanCode
//
//  Created by YiXuePxh on 15/9/17.
//  Copyright (c) 2015年 上海益学. All rights reserved.
//

#import "WebViewController.h"

@interface WebViewController ()

@end

@implementation WebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    CGRect screenRect = [UIScreen mainScreen].bounds;
    UIWebView* web = [[UIWebView alloc]initWithFrame:screenRect];
    [self.view addSubview:web];
    NSLog(@"urlString:%@",_urlString);
    NSURLRequest* request = [NSURLRequest requestWithURL:[NSURL URLWithString:_urlString]];
    [web loadRequest:request];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
